package com.atguigu.gmall.product;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author: 封捷
 * @create-date: 2022/8/19 9:34
 */
// 整个项目中，希望所有微服务都能够扫描相同的包：com.atguigu.gmall
@ComponentScan(basePackages = {"com.atguigu.gmall"})
@SpringBootApplication
@EnableDiscoveryClient
public class GMallServiceProductMainType {

    public static void main(String[] args) {
        SpringApplication.run(GMallServiceProductMainType.class, args);
    }

}
